using System;
using FBGraph.Models;

namespace FBGraph.Controllers.Connections.Users
{
    /// <summary>All the pages this user has liked. Requires the user_likes or friend_likes permission</summary>
    public partial class LikesController : FBGraphController, IFBGraphConnectionController<Page>
    {
        /// <summary>Initializes an instance of <see cref="LikesController" />.</summary>
        public LikesController(IFBGraphContext context)
            : base(context)
        {
        }
        
        /// <summary>Gets the name of the connection the <see cref="LikesController" /> handles requests for.</summary>
        String IFBGraphConnectionController<Page>.ConnectionName
        {
            get
            {
                return "likes";
            }
        }
    }
}